package com.learn.xueer.ui.adapter

import android.widget.ImageView
import com.bumptech.glide.Glide
import com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
import com.learn.xueer.R
import com.learn.xueer.data.model.bean.BookInfo
import com.learn.xueer.data.model.bean.BookSectionResponse
import com.learn.xueer.data.model.bean.HearSayResponse
import com.learn.xueer.data.model.bean.QuestionResponse
import com.learn.xueer.data.model.bean.VipList
import com.learn.xueer.data.model.bean.VipResponse

class QuestionAdapter(data: MutableList<QuestionResponse>) :
    BaseQuickAdapter<QuestionResponse, BaseViewHolder>(
        R.layout.item_question, data
    ) {
    override fun convert(holder: BaseViewHolder, item: QuestionResponse) {
        holder.setText(R.id.tv_title, "${holder.layoutPosition+1}、${item.title}")

    }
}